import Vue from 'vue'
import App from './App.vue';
Vue.config.productionTip = false;
import router from '@/router'
// 引入store
import store from '@/store'
//把mock引入项目 让mockServer执行
import "@/mock/mockServer"
// 引入注册全局组件
import "@/main/components"
import "@/main/element"
import "@/main/lazyLoad"
import "@/main/validate"
//注册全局组件
Vue.config.productionTip = false
new Vue({
  render: h => h(App),
  router,
  store,
  beforeCreate() {
    Vue.prototype.$bus = this
  }
}).$mount('#app')
